package jiachunlei.command;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/10 22:10
 */
public class BuyStock implements Order
{
    private Stock abcStock;

    public BuyStock(Stock abcStock)
    {
        this.abcStock = abcStock;
    }

    @Override
    public void execute()
    {
        abcStock.buy();
    }
}
